home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / libs / unixlib.lha / unix / src / regerror.c < prev    next >
C/C++ Source or Header  |  1996-04-27  |  247b  |  18 lines

  1. #include <regexp.h>
  2. #include <stdio.h>
  3.  
  4. void
  5. regerror(const char *s)
  6. {
  7. #ifdef ERRAVAIL
  8.     error("regexp: %s", s);
  9. #else
  10. /*
  11.     fprintf(stderr, "regexp(3): %s\n", s);
  12.     exit(1);
  13. */
  14.     return;      /* let std. egrep handle errors */
  15. #endif
  16.     /* NOTREACHED */
  17. }
  18.